home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 February / PCWorld_2000-02_cd.bin / Software / Vyzkuste / xsetup / _SETUP.2 / Group3 / XQ WinNT AppInit.xpl < prev    next >
Text File  |  1999-10-16  |  1KB  |  39 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 3.1"
  2. "TYPE"="1"
  3. "COUNT"="1"
  4. "UIPATH"="System\Security"
  5. "NAME"="App Init DLLs"
  6. "VERSION"="1.11"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Init DLLs"
  9. "DESCRIPTION 1"="This settings causes Windows NT to load the specified DLLs every time a program is started."
  10. "DESCRIPTION 2"="If you have trouble running some applications and this field is not empty, it is possible that the DLLs are responsible for this behavior."
  11. "DESCRIPTION 3"="In this case, clear this field and restart your computer."
  12. "AUTHOR"="Xteq Systems"
  13. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  14. "COMMENT 1"="For more information, go to http://www.xteq.com"
  15.  
  16.  
  17.  
  18. sPath="HKLM\Software\Microsoft\Windows NT\CurrentVersion\Windows\AppInit_DLLs"
  19. Sub Plugin_Initialize 
  20.  if GetWinVer=2 then
  21.   s=RegReadValue(sPath)
  22.   Call SetUIElement(1,s)
  23.  else
  24.   Disable
  25.  end if
  26. End Sub
  27.  
  28. Sub Plugin_CheckData(ElementIndex)
  29. End Sub
  30.  
  31. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  32.  s=GetUIElement(1)
  33.  Call RegWriteValue(sPath,s,1)
  34.  Call Restart
  35. End Sub
  36.  
  37. Sub Plugin_Terminate 
  38. End Sub
  39.